
SRCS= crypt.c dict.c filters.c hash.c hmac.c hmacsha1.c \
		  isaac.c log.c misc.c missing.c md4.c md5.c print.c \
		  radius.c rbtree.c sha1.c snprintf.c token.c udpfromto.c \
		  valuepair.c

LT_OBJS		= $(SRCS:.c=.o)

INCLUDES	= ../include/radius.h ../include/libradius.h \
		  ../include/missing.h ../include/autoconf.h

LIBradius=radius
%.o : %.c
	$(CC) $(CFLAG) -I../include -c $<

all: lib$(LIBradius).a

lib$(LIBradius).a: $(LT_OBJS)
	$(AR) rcs lib$(LIBradius).a $(LT_OBJS)
$(LT_OBJS): $(INCLUDES)

clean:
	rm -f *.o lib$(LIBradius).a

